<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
</script>

<template>
  <header>
    <div class="wrapper">
      <HelloWorld msg="You did it!" />
      <nav>
        <RouterLink to="/list">显示</RouterLink>
        <RouterLink to="/add">添加</RouterLink>
        <RouterLink to="/distadd">优惠劵添加</RouterLink>
        <RouterLink to="/distlist">优惠劵显示</RouterLink>
        <RouterLink to="/upd">优惠劵修改</RouterLink>
        <RouterLink to="/youlist">优惠劵核销显示</RouterLink>
        <RouterLink to="/houseadd">房型添加</RouterLink>
        <RouterLink to="/houselist">房型显示</RouterLink>
        <RouterLink to="/xiangqing">房型详情</RouterLink>
        <RouterLink to="/noadd">房号添加</RouterLink>
        <RouterLink to="/nolist">房号显示</RouterLink>
        <RouterLink to="/housepriceadd">房价添加</RouterLink>
        <RouterLink to="/housepricelist">房价显示</RouterLink>
        <RouterLink to="/housepricelist">哈哈哈哈哈</RouterLink>
      </nav>
    </div>
  </header>
  <RouterView />
</template>

<style scoped>
a{
  margin: 0 10px;
}
</style>
